package com.newsmanagement.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author xbr
 *
 * 用户角色关系表
 */
public class EumRoleEntity {

    //主键
    //EUM_ROLE_ID
    private Integer eumRoleId;

    //用户id
    //EUM_ID
    private Integer eumId;

    //角色id
    //ROLE_ID
    private Integer roleId;

    //是否删除：0:已删除，1：未删除;默认未删除
    private Integer deleteFlag;

    //创建时间
    private Timestamp createTime;

    public Integer getEumRoleId() {
        return eumRoleId;
    }

    public void setEumRoleId(Integer eumRoleId) {
        this.eumRoleId = eumRoleId;
    }

    public Integer getEumId() {
        return eumId;
    }

    public void setEumId(Integer eumId) {
        this.eumId = eumId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}

